import { getCurrentInstance } from "vue"

function useGlobal () {
  const app = getCurrentInstance()
  return app?.appContext.config.globalProperties
}
export default useGlobal
